package com.education.platform.api.vo.request;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.Date;
/**
* describe: 订单
* @author : tomato
* @date: 2020-06-16 11:49:53.439
**/
@ApiModel()
@Getter
@Setter
@ToString
public class UserOrderUpdateVO {


    /**
     * 商品id
     */
    @ApiModelProperty("商品id")
    @NotNull(message = "商品id必填")
	private Integer goodsId;
    /**
     * 商品数量
     */
    @ApiModelProperty("商品数量")
    @NotNull(message = "商品数量必填")
	private Integer number;
    /**
     * 单价
     */
    @ApiModelProperty(value = "单价",hidden = true)
	private Integer unitPrice;
    /**
     * 订单总价
     */
    @ApiModelProperty(value = "订单总价",hidden = true)
	private Integer totalPrice;


    /**
     * 订单标题
     */
    @ApiModelProperty("订单标题")
	private String subject;
    /**
     * 备注
     */
    @ApiModelProperty("备注")
	private String remark;


    /**
     * 详细地址
     */
    @ApiModelProperty("详细地址")
    @NotNull(message = "详细地址必填")
    private String receiptDetailAddress;
    /**
     * 收货人姓名
     */
    @ApiModelProperty("收货人姓名")
    @NotNull(message = "收货人姓名必填")
    private String receiptName;
    /**
     * 收货人电话
     */
    @ApiModelProperty("收货人电话")
    @NotNull(message = "收货人必填")
    private String receiptPhone;

}
